package sctu.edu.java.year2016.team01.zhuming.day20160523.chapter5_1;

/**
 * Created by Administrator on 2016/5/24.
 */
import java.util.Scanner;
    public class YiWeiShuZu{
        public static void main(String[] args){
            Scanner scan=new Scanner(System.in);
            int arr[]=new int[6];
            System.out.println("请输入6个整数:");

              for(int i=0;i<arr.length;i++)
            {
                arr[i] =scan.nextInt();
            }

            System.out.println("遍历数组为：");
            for(int x:arr)
            {
                System.out.print("  "+x );
            }
        }

    }
